package com.ruoyi.houses.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新房对象 atb_property_house
 * 
 * @author ruoyi
 * @date 2024-09-16
 */
public class AtbPropertyHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 新房表id */
    private Long id;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private String name;

    /** 楼盘地址 */
    @Excel(name = "楼盘地址")
    private String address;

    /** 楼盘面积 */
    @Excel(name = "楼盘面积")
    private Long area;

    /** 参考总价 */
    @Excel(name = "参考总价")
    private BigDecimal totalPrice;

    /** 房屋标签id */
    @Excel(name = "房屋标签id")
    private Long labelId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long isExamine;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long isPutaway;

    /** 地址经度 */
    @Excel(name = "地址经度")
    private String addressLongitude;

    /** 地址纬度 */
    @Excel(name = "地址纬度")
    private String addressLatitude;

    /** 省 */
    @Excel(name = "省")
    private Long city1;

    /** 市 */
    @Excel(name = "市")
    private Long city2;

    /** 区 */
    @Excel(name = "区")
    private Long city3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setLabelId(Long labelId) 
    {
        this.labelId = labelId;
    }

    public Long getLabelId() 
    {
        return labelId;
    }
    public void setIsExamine(Long isExamine) 
    {
        this.isExamine = isExamine;
    }

    public Long getIsExamine() 
    {
        return isExamine;
    }
    public void setIsPutaway(Long isPutaway) 
    {
        this.isPutaway = isPutaway;
    }

    public Long getIsPutaway() 
    {
        return isPutaway;
    }
    public void setAddressLongitude(String addressLongitude) 
    {
        this.addressLongitude = addressLongitude;
    }

    public String getAddressLongitude() 
    {
        return addressLongitude;
    }
    public void setAddressLatitude(String addressLatitude) 
    {
        this.addressLatitude = addressLatitude;
    }

    public String getAddressLatitude() 
    {
        return addressLatitude;
    }
    public void setCity1(Long city1) 
    {
        this.city1 = city1;
    }

    public Long getCity1() 
    {
        return city1;
    }
    public void setCity2(Long city2) 
    {
        this.city2 = city2;
    }

    public Long getCity2() 
    {
        return city2;
    }
    public void setCity3(Long city3) 
    {
        this.city3 = city3;
    }

    public Long getCity3() 
    {
        return city3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("area", getArea())
            .append("totalPrice", getTotalPrice())
            .append("labelId", getLabelId())
            .append("isExamine", getIsExamine())
            .append("isPutaway", getIsPutaway())
            .append("createTime", getCreateTime())
            .append("addressLongitude", getAddressLongitude())
            .append("addressLatitude", getAddressLatitude())
            .append("city1", getCity1())
            .append("city2", getCity2())
            .append("city3", getCity3())
            .toString();
    }
}
